package com.huilian.iotbox.admin.dao;

import com.huilian.iotbox.data.dto.DeviceAnnualFeeDto;
import com.huilian.iotbox.data.vo.DeviceAnnualFeeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LinYinDong
 * @date 2024/7/17 下午5:02
 */
public interface DeviceAnnualFeeDao {
    DeviceAnnualFeeVo getOneDeviceAnnualFeeByDeviceId(@Param("deviceId") Integer deviceId, @Param("userId") Integer userId, @Param("merchantStoreId") Integer merchantStoreId);

    Integer insert(DeviceAnnualFeeDto dto);

    List<DeviceAnnualFeeVo> findDeviceAnnualFeeList(DeviceAnnualFeeDto deviceAnnualFeeDto);

    Integer delete(@Param("id") Integer id);
}
